CRM 2011 Plugin: One or more of the option set values for picklist are not in the range of allowed values

Today I wrote a plugin for Record Assignment scenario.

After the plugin is registered, I got the error: “One or more of the option set values for picklist are not in the range of allowed values“. I thought the error was with regards to Plugin and so, I disabled it. Now it worked well.

But I am getting this error for the first time, also I was so curious to find the cause for this. I have searched some blogs but I haven’t found anything that exactly fixes this.

I assigned a default value for the picklist that is throwing this error. Now I enabled the plugin again and tried. It worked like a Charm:-)

Cheers,

Naren

Leave a comment